# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         4.17
# Description:
# Author:       dell
# Date:         2019/ajaxdata.json/28
#-------------------------------------------------------------------------------
numbers = [1,2,3,4,5,6,7,8,9]
print(numbers[:7:2])
print(numbers[::2])
print(numbers[3::2])
#步长不能为 0 但是可以为负数，为0 则抛出错误，为负数则从右往左开始
print(numbers[::-1])
print(numbers[::-3])
